#include <iostream>
#include <math.h>
#include <stdlib.h>

int main ()
{
int N;
int S=0;
int K=0;
cout<< " Vvedi chislo";
cin>>N;
while (N>0)
{
K++;
S=S+N%10;
N=N/10;
}
cout<<"cymma:  ";
cout<<S;
cout<<endl;
cout<<"kollichestvo:  ";
cout<<K;
getch();
return (0);
}
